//
//  BWFMessageViewController.swift
//  网易新闻项目
//
//  Created by 薄文飞 on 16/3/2.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class BWFMessageViewController: BWFVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if !userLogon {
            
            visitorView.setPage("visitordiscover_image_message", textLabel: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
            return
        }
        navigationItem.leftBarButtonItem = UIBarButtonItem(titel: "发现群", target: self, action: "push")
        
    }
    
    func push() {
    
        navigationController?.pushViewController(BWFTempViewController(), animated: true)
    }

}
